Skip to content

Conversation

aabounegm
Copy link

Added type: "module" to package.json and the .js extension to relative imports to conform to correct ES Modules syntax.

Resolves #440

@CLAassistant
Copy link

CLAassistant commented Sep 8, 2022

CLA assistant check
All committers have signed the CLA.

@jsteele-stripe jsteele-stripe deleted the branch invertase:next March 20, 2023 10:52
@trentrand
Copy link

trentrand commented Nov 27, 2024

Can we merge this? Having the same issue as #440 when using this package with SvelteKit / Vite

@trentrand
Copy link

This fix has been published as @trentrand/[email protected].

See my fork, which additionally updates the package to the latest Stripe API (+ 2 years), uses modular Firebase package (firebase instead of many firebase/*), ECMAScript Modules (ESM), and Bun build tooling for faster development.

https://github.com/trentrand/stripe-firebase-extensions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Vite detects the web SDK as a CommonJS module
5 participants